#ifndef ROCKETINVADERSEVENT_H
#define ROCKETINVADERSEVENT_H

/**
	@author Peter Curry
 */
#include "World.h"
class World;
class RockEvent : public Rocket::Core::EventListener
{
public:
	RockEvent(const Rocket::Core::String& value);
	virtual ~RockEvent();

	/// Sends the event value through to Invader's event processing system.
	virtual void ProcessEvent(Rocket::Core::Event& event);
	/// Destroys the event.
	virtual void OnDetach(Rocket::Core::Element* element);
	World *p_world;
private:
	Rocket::Core::String value;
};

#endif
